package com.monster.security.data.common;

import com.monster.exception.ExceptionEnum;
import lombok.Getter;

/**
 * 数据加密解密的一些错误枚举
 * @author kuang
 */

public enum SecurityExceptionEnum implements ExceptionEnum {
    /**
     * 数据加密解密的一些错误枚举
     */
    SECURITY_1000("SECURITY_1000", "数据加密失败"),
    SECURITY_1001("SECURITY_1001", "数据解密失败"),
    ;
    @Getter
    String code;
    @Getter
    String msg;
    SecurityExceptionEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
